package com.chrissy.music.common.constant;

/**
 * @author Johnson
 */
public class Constants {

    private Constants() {
    }

    /**
     * 验证码有效期（分钟）
     */
    public static final Integer CAPTCHA_EXPIRATION = 2;

    /**
     * 令牌前缀
     */
    public static final String TOKEN_PREFIX = "Bearer ";

    /**
     * 令牌
     */
    public static final String TOKEN = "token";

    /**
     * 登陆key
     */
    public static final String LOGIN_USER_KEY = "login_user_key";

    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * GBK 字符集
     */
    public static final String GBK = "GBK";

    /**
     * 失败码
     */
    public static final Integer FAILED = 500;

}
